package com.xoa.service.knowledge;

import com.xoa.model.knowledge.KnowledgeCustomer;
import com.xoa.model.users.Users;
import com.xoa.util.LimsJson;
import com.xoa.util.ToJson;

import javax.servlet.http.HttpServletRequest;

public interface ClientService {
    //查询客户信息，包括模糊查询
    ToJson getAllCustomer(KnowledgeCustomer customer,Integer page,Integer limit,String isSysCode);

    //新增客户
    ToJson addCustomer(HttpServletRequest request,KnowledgeCustomer customer, Users users);

    //新增客户
    ToJson delCustomer(HttpServletRequest request,String ids);

    //根据id查询
    ToJson getCustomerById(Integer customerId);

    //修改客户
    ToJson editCustomer(HttpServletRequest request,KnowledgeCustomer customer,Users users);

    //查询用户查看下载文档记录
    LimsJson getLogByUserId(HttpServletRequest request, String userId, Integer page, Integer limit);
}
